package com.gzz.orchid.context.domain.base;

import com.gzz.orchid.context.domain.base.entity.ConfiguractionDo;
import com.gzz.orchid.context.infrastructure.definition.Status;

import java.io.Serializable;
import java.util.List;

/**
 * @author higmd
 */
public interface IConfiguractionRepsitory {
    ConfiguractionDo findByCode(String code);

    List<ConfiguractionDo> findListByIds(Serializable[] ids);

    int batchDelete(Serializable[] ids);

    int batchChangeStatus(Status status, List<ConfiguractionDo> doList);

    void save(ConfiguractionDo configuractionDo);
}
